/-app ...
/-app/boot
boot.css
boot.html
boot.js
pe.html
/-app1
/-app1/boot
/-app1/imports
/-app1/layout
/-app1/loaded
/-app1/loading
/-app1/mscorlib
Application.ts
earlyinit.js
format.ts
functions.ts
ko.ts
lateinit.js
pe.html
/-core
/-headers
/-io
/-managed
/-typings
/-unmanaged
pe.ts
x
1
<!doctype html>
2
<html>
3
<head>
4
<title>PE.js loading...</title>
5
6
<!-- CSS needs to be populated up-front, nothing can be displayed correctly without it -->
7
<style>
8
###app/boot/boot.css###
9
</style>
10
11
</head>
12
<body>
13
14
<!--
15
  All UI shall be contained within this element.
16
17
  At startup it might contain junk because the HTML was saved/scraped,
18
  so the first thing to do is to destroy the content here and replace it with boot UI.
19
-->
20
<div id=uisite>PE.js booting...</div>
21
22
23
<!-- Small chunk of code cleaning up uisite and putting some basic boot UI in there. -->
24
<script>
25
###app/boot/boot.js###
26
</script>
27
28
29
30
<!-- Actual PE.js code. -->
31
<script>
32
  // . . .
33
</script>
34
35
36
<!-- EXE/DLL binary content embedded into HTML DOM -->
37
<div id=datasite style="display: none;">
38
39
  <div data-file=mscorlib.dll>
40
    <div id=data00>###app1/mscorlib/00.base64###</div>>
41
    <div id=data01>###app1/mscorlib/01.base64###</div>>
42
    <div id=data02>###app1/mscorlib/02.base64###</div>>
43
    <div id=data03>###app1/mscorlib/03.base64###</div>>
44
  </div>
45
46
</div>
47
48
<script> pe.app.boot.bootingComplete(); </script>
49
50
</body>
51
</html>